package com.syh.jn.scm.service.impl.supplier.system;

import com.alibaba.dubbo.config.annotation.Service;
import com.syh.core.ddd.infrastructure.repository.AggregateRepository;
import com.syh.core.ddd.service.AbstractServiceImpl;
import com.syh.jn.scm.domain.supplier.entity.system.SupplierMenu;
import com.syh.jn.scm.domain.supplier.repository.system.SupplierMenuRepository;
import com.syh.jn.scm.dto.supplier.system.SupplierMenuVo;
import com.syh.jn.scm.service.api.supplier.system.SupplierMenuService;
import org.springframework.beans.factory.annotation.Autowired;

@Service
public class SupplierMenuServiceImpl extends AbstractServiceImpl<Object, Object, SupplierMenuVo, SupplierMenu, Long> implements SupplierMenuService {

  @Autowired
  private SupplierMenuRepository supplierMenuRepository;

  @Override
  protected AggregateRepository<SupplierMenu, Long> getAggregateRepository() {
    return this.supplierMenuRepository;
  }


}
